package com.sky.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @program: sky-take-out
 * @description:
 * @author: lydms
 * @create: 2024-03-07 15:58
 **/

@Component
@Slf4j
public class Mytask {

    /**
     *每个5秒一次
     */
    //@Scheduled(cron = "0/5 * * * * ?")
    public void executeTask(){

    }
}
